import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useLoginStore = defineStore('login', () => {
 
    const user = ref({
        username:'',
        islogin:false
    })

  return { user }
},
{
    persist: {
        storage: sessionStorage,
      },
  },
)
